package kpi.javatraining6.gnatiuk.src.tester.question;

public class AnsweredQuestion {
    private String question;
    private boolean isRightAnswer;

    public AnsweredQuestion(String question, boolean rightAnswer) {
        this.question = question;
        isRightAnswer = rightAnswer;
    }

    public String getQuestion() {
        return question;
    }

    public boolean isRightAnswer() {
        return isRightAnswer;
    }
}
